View Serializable Updates of Concurrent Index Structures
نویسندگان
چکیده
We present new algorithms for concurrent reading and updating of B-trees and binary search trees. Our algorithms are based on the well-known link technique, and improve previously proposed solutions in several respects. We prove formally that our algorithms are correct. We show that they satisfy a view serializability criterion, which fails for previous solutions. This stronger serializability criterion is central to the proof that several subtle (but essential) optimizations incorporated in our algorithms are correct.
منابع مشابه
In the Search of Optimal Concurrency
Implementing a concurrent data structure typically begins with defining its sequential specification. However, when used as is, a nontrivial sequential data structure, such as a linked list, a search tree, or a hash table, may expose incorrect behavior: lost updates, inconsistent responses, etc. To ensure correctness, portions of the sequential code operating on the shared data must be “protect...
متن کاملModular Shape Analysis for View-Serializable Libraries
We present novel modular static shape analysis algorithms for concurrent libraries. Our analyses conservatively verify the absence of certain memory and concurrency errors, verify a certain class of program assertions, and infer shape (heap) module invariants. The key idea is to focus on a class of concurrent programs that follow certain standard locking policies which ensure viewserializabilit...
متن کاملTransactions on Mergeable Objects
Destructible updates on shared objects require careful handling of concurrent accesses in multi-threaded programs. Paradigms such as Transactional Memory support the programmer in correctly synchronizing access to mutable shared data by serializing the transactional reads and writes. But under high contention, serializable transactions incur frequent aborts and limit parallelism. This can lead ...
متن کاملDeclarative Serializable Snapshot Isolation
Snapshot isolation (SI) is a popular concurrency control protocol, but it permits non-serializable schedules that violate database integrity. The Serializable Snapshot Isolation (SSI) protocol ensures (view) serializability by preventing pivot structures in SI schedules. In this paper, we leverage the SSI approach and develop the Declarative Serializable Snapshot Isolation (DSSI) protocol, an S...
متن کاملPsweep: Parallel View Maintenance under Concurrent Data Updates of Distributed Sources Psweep: Parallel View Maintenance under Concurrent Data Updates of Distributed Sources
Data warehouses (DW) are built by gathering information from several information sources (ISs) and integrating it into one repository customized to users' needs. Recent work has begun to address the problem of view maintenance of DWs under concurrent data updates of diierent ISs. SWEEP proposed by Agrawal et al. AAS97] is one of the more popular solutions; even though its performance is limited...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2001